package com.beehive.config;

import org.apache.log4j.Logger;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

@Configuration
@EnableDiscoveryClient
public class EurekaClientConfig {
	private Logger logger= Logger.getLogger(EurekaClientConfig.class);
/*	@Bean
	@LoadBalanced
	RestTemplate restTemplate() {
		logger.info("restTemplate被初始化");
		return new RestTemplate();
	}*/

}
